package com.macrovideo.objects;

import android.graphics.Bitmap;

public class ObjectAlarmMessage {
	private int nID=0;
	private int nSaveID;
	private int nAlarmID;
	private int nDevID;
	private int nAlarmType;
	private int nAlarmLevel;
	private String strAlarmMsg;
	private String strAlarmTime;
 	private long lSaveTime;
	
	private Bitmap image=null;

	
	public ObjectAlarmMessage(int nID, int nSaveID, int nAlarmID, int nDevID, int nAlarmType, int nAlarmLevel, String strAlarmMsg, String strAlarmTime, long lSaveTime){
		this.nID=nID;
		this.nSaveID=nSaveID;
		this.nAlarmID=nAlarmID;
		this.nDevID=nDevID;
		this.nAlarmType=nAlarmType;
		this.nAlarmLevel=nAlarmLevel;
		this.strAlarmMsg=strAlarmMsg;
		this.strAlarmTime=strAlarmTime;
		this.lSaveTime=lSaveTime;
 
	}
	
	public ObjectAlarmMessage(int nID, int nSaveID, int nAlarmID, int nDevID, int nAlarmType, int nAlarmLevel, String strAlarmMsg, String strAlarmTime, long lSaveTime, Bitmap image){
		this.nID=nID;
		this.nSaveID=nSaveID;
		this.nAlarmID=nAlarmID;
		this.nDevID=nDevID;
		this.nAlarmType=nAlarmType;
		this.nAlarmLevel=nAlarmLevel;
		this.strAlarmMsg=strAlarmMsg;
		this.strAlarmTime=strAlarmTime;
		this.lSaveTime=lSaveTime;
		this.image = image;
 
	}
	public Bitmap getImage() {
		return image;
	}

	public void setImage(Bitmap image) {
		this.image = image;
	}

	public int getnID() {
		return nID;
	}

	public int getnSaveID() {
		return nSaveID;
	}

	public int getnAlarmID() {
		return nAlarmID;
	}

	public int getnDevID() {
		return nDevID;
	}

	public int getnAlarmType() {
		return nAlarmType;
	}

	public int getnAlarmLevel() {
		return nAlarmLevel;
	}

	public String getStrAlarmMsg() {
		return strAlarmMsg;
	}

	public String getStrAlarmTime() {
		return strAlarmTime;
	}

	public long getLSaveTime() {
		return lSaveTime;
	}
	


}
